package com.tdkj.model.risevalue;

import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.tdkj.model.base.BaseEntity;

/**
 * XnkyPlate entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "risevalue_plate_sms")
public class BeanPlateSMS extends BaseEntity implements java.io.Serializable {

	// Fields
	private String name;
	
	private List<BeanPlateSMSCustom> customs ;

	public BeanPlateSMS() {
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@OneToMany(cascade={CascadeType.REFRESH}, fetch=FetchType.LAZY, mappedBy="plate")
	public List<BeanPlateSMSCustom> getCustoms() {
		return customs;
	}

	public void setCustoms(List<BeanPlateSMSCustom> customs) {
		this.customs = customs;
	}
	
	

}